package com.shop.shoporder.entity.order;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SureOrder {
    public OrderAddress getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(OrderAddress orderAddress) {
        this.orderAddress = orderAddress;
    }

    public UserAddress getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(UserAddress userAddress) {
        this.userAddress = userAddress;
    }

    private UserAddress userAddress;
    private OrderAddress orderAddress;
    private Config config;
    List<CartList> cartListList;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    private Order order;
    private Double freight;
    private Double coupon;
    private Double cashCoupon;
    private Double deductionCoupon;
    private Double deductionCashCoupon;


    public Config getConfig() {
        return config;
    }

    public void setConfig(Config config) {
        this.config = config;
    }

    public List<CartList> getCartListList() {
        return cartListList;
    }

    public void setCartListList(List<CartList> cartListList) {
        this.cartListList = cartListList;
    }

    public Double getFreight() {
        return freight;
    }

    public void setFreight(Double freight) {
        this.freight = freight;
    }

    public Double getCoupon() {
        return coupon;
    }

    public void setCoupon(Double coupon) {
        this.coupon = coupon;
    }

    public Double getCashCoupon() {
        return cashCoupon;
    }

    public void setCashCoupon(Double cashCoupon) {
        this.cashCoupon = cashCoupon;
    }

    public Double getDeductionCoupon() {
        return deductionCoupon;
    }

    public void setDeductionCoupon(Double deductionCoupon) {
        this.deductionCoupon = deductionCoupon;
    }

    public Double getDeductionCashCoupon() {
        return deductionCashCoupon;
    }

    public void setDeductionCashCoupon(Double deductionCashCoupon) {
        this.deductionCashCoupon = deductionCashCoupon;
    }

}
